Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

groups: fix query invalidation loop #3007

Merged
merged 2 commits into from
Nov 16, 2023
Merged

Conversation

latter-bolden
Copy link
Member

We have a hack in place to account for the situation where the frontend loses track of a group if it's been removed from the gang list, but is taking a long time to join. The way it's implemented right now means that we're invalidating the groups query too frequently which can trigger loops.

This update just adjusts that groups invalidation logic to only fire if we believe a gang was removed rather than every time the query is fetched.

Fixes LAND-1208

Copy link

linear bot commented Nov 15, 2023

Copy link
Member

@patosullivan patosullivan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@arthyn arthyn merged commit aa4bcce into develop Nov 16, 2023
1 check passed
@arthyn arthyn deleted the lb/fix-group-invalidation branch November 16, 2023 00:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants